home *** CD-ROM | disk | FTP | other *** search
/ APDL Other Worlds / APDL Other Worlds Collection.iso / SF3000 / Extras / CBlibrary / h / FednetComp < prev    next >
Encoding:
Text File  |  2003-09-09  |  1.3 KB  |  39 lines

  1. /*
  2.  * CBLibrary - FednetComp
  3.  * Copyright (C) 2003  Chris Bazley
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Lesser General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2.1 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Lesser General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Lesser General Public
  16.  * License along with this library; if not, write to the Free Software
  17.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  18.  */
  19.  
  20. /*
  21.   Veneer to Fednet compression modules
  22.   All applications using this component need the following messages:
  23.   OpenInFail, ReadFail
  24. */
  25.  
  26. #ifndef FednetComp_h
  27. #define FednetComp_h
  28.  
  29. #include "kernel.h"
  30. #include "flex.h"
  31.  
  32. /* Allocate flex buffer using given anchor, and load file into it */
  33. extern _kernel_oserror *load_compressed(char *filepath, flex_ptr buffer_anchor);
  34.  
  35. /* Save specified memory to file, and set filetype */
  36. extern _kernel_oserror *save_compressed(char *filepath, int filetype, flex_ptr buffer_anchor);
  37.  
  38. #endif
  39.